package com.heima.api.User;

import com.heima.model.article.dtos.ArticleInfoDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-user")
public interface IUserClient {
    @PostMapping("/api/v1/user/RelationSearch")
    ResponseResult RelationSearch(@RequestBody ArticleInfoDto articleInfoDto);
}
